<div class="size myStyle1">

	<section class="allSize">
		<h4>已定义的尺寸：</h4>
		<span class="label label-default" ng-repeat="size in top_Size" title="描述：{{size.description}}">{{size.name}}</span>
	</section>

	<section class="addSize" ng-controller="addSize">
		<h4>添加一种尺寸：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label for="sizeName">尺寸</label>
				<input type="text" class="form-control" id="sizeName" placeholder="L" ng-model=sizeName>
			</div>
			<div class="form-group">
				<label for="sizeDescription">描述</label>
				<input type="text" class="form-control" id="sizeDescription" ng-model="sizeDescription">
			</div>
			<button class="btn btn-default" ng-click="addSize(); refresh_Size();">添 加</button>
		</form>
	</section>

	<section class="deleteSize" ng-controller="deleteSize">
		<h4>删除一种尺寸：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>尺寸</label>
				<select class="form-control" ng-model="sizeId" ng-options="size.sizeId as size.name for size in top_Size">
					<option value="">--请选择--</option>
				</select>
			</div>
			<button class="btn btn-default" ng-click="deleteSize(); refresh_Size();">删 除</button>
		</form>
	</section>

	<section class="modifySize" ng-controller="modifySize">
		<h4>修改一种尺寸：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>尺寸</label>
				<select class="form-control" ng-model="sizeId" ng-options="size.sizeId as size.name for size in top_Size">
					<option value="">--请选择--</option>
				</select>
			</div>
			<div class="form-group">
				<label for="sizeName2">尺寸</label>
				<input type="text" class="form-control" id="sizeName2" placeholder="L" ng-model=sizeName>
			</div>
			<div class="form-group">
				<label for="sizeDescription2">描述</label>
				<input type="text" class="form-control" id="sizeDescription2" ng-model="sizeDescription">
			</div>
			<button class="btn btn-default" ng-click="modifySize(); refresh_Size();">修 改</button>
		</form>
	</section>	

</div>
